package com.ithema.method1;

public class str {
    public static void main(String[] args) {
        String s="dhsakfniksafhwl";
        for (int i = 0; i <s.length() ; i++) {
            char c = s.charAt(i);
            System.out.println(c);
        }
        System.out.println("------------------------");
        char[] chars = s.toCharArray();
        for (int i = 0; i < chars.length; i++) {
            System.out.println(chars[i]);
        }

    }
}
